import { Button, Image, StyleSheet, Text, View } from "react-native";

export default function App() {
  return (
    // 网络图片
    // <Image 
    // style={styles.image}
    // source={{uri:'https://www.baidu.com/img/PCtm_d9c8750bed0b3c7d089fa7d55720d6cf.png'}}/>
    // 本地图片
    // <Image source={require('./src/assets/mv2.jpg')} style={{width:100,height:100}} />
    // 网络图片
    // <Image source={require('./src/assets/yilixsz1.gif')} />
    // webp图片
    <Image 
    style={styles.image}
    source={{uri:'https://media1.giphy.com/media/v1.Y2lkPTc5MGI3NjExcnlwYjZoczk3YTdobHlsNmN6MzV2MDg5c2hvZXJqOWRneW43eHpmNiZlcD12MV9naWZzX3RyZW5kaW5nJmN0PWc/dRvEZLV0ORAmHT1L5u/giphy.webp'}}/>
  );
}


const styles = StyleSheet.create({
  image: {
    width: 100,
    height: 100,
  },
});

